package com.hjm.project.accounts.virtualPolicyTemplate.domain;

import com.hjm.framework.web.domain.BaseEntity;
import java.math.BigDecimal;
import com.hjm.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 商户虚拟政策默认模板对象 virtual_policy_template
 * 
 * @author maker-platform
 * @date 2022-03-14
 */
@Data
public class VirtualPolicyTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Integer id;

    /** 满额提现阈值 （元） */
    @Excel(name = "满额提现阈值 ", readConverterExp = "元=")
    private BigDecimal maxTx;

    /** 自动提现周期(天) */
    @Excel(name = "自动提现周期(天)")
    private Integer cycleTx;

    /** 1 app  2 默认 */
    @Excel(name = "1 app  2 默认")
    private Integer status;

    /** 允许最小金额设置 */
    @Excel(name = "允许最小金额设置")
    private BigDecimal minTx;







    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("maxTx", getMaxTx())
            .append("cycleTx", getCycleTx())
            .append("status", getStatus())
            .append("minTx", getMinTx())
            .toString();
    }
}
